def make_bricks(small, big, goal):
  need_big = goal // 5
  big = min(big,need_big)
  goal -= big*5
  return goal <= small